package com.fwixvye.pojo.rolePack;

import com.fwixvye.pojo.Role;

import java.util.LinkedHashMap;
import java.util.Set;

public class R150妮露 extends Role {

    @Override
    public LinkedHashMap<String, Double> singleRoleComputing() {
        LinkedHashMap<String, Double> aMap = new LinkedHashMap<>();
        aMap.put("一段伤害", 1.065);
        aMap.put("二段伤害", 0.962);
        aMap.put("三段伤害", 1.489);
        aMap.put("重击伤害1", 1.063);
        aMap.put("重击伤害2", 1.152);
        aMap.put("下坠期间伤害", 1.35);
        aMap.put("低空坠地冲击伤害", 2.705);
        aMap.put("高空坠地冲击伤害", 3.379);

        LinkedHashMap<String, Double> eMap = new LinkedHashMap<>();
        eMap.put("技能伤害", 0.0568);
        eMap.put("剑舞步1", 0.0774);
        eMap.put("剑舞步2", 0.0875);
        eMap.put("水月", 0.1219);
        eMap.put("旋舞步1", 0.0555);
        eMap.put("旋舞步2", 0.0673);
        eMap.put("旋舞步3", 0.086);

        LinkedHashMap<String, Double> qMap = new LinkedHashMap<>();
        qMap.put("技能伤害", 0.332);
        qMap.put("永世流沔伤害", 0.451);


        LinkedHashMap<String, Double> tMap = new LinkedHashMap<>();
        Set<String> aSet = aMap.keySet();
        for (String s : aSet) {
            double damage = damageCalculatorZF(aMap.get(s), 15, 15, 19, 0.1, 90, 90);
            tMap.put("A" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> eSet = eMap.keySet();
        for (String s : eSet) {
            double damage = damageCalculatorZFHp(eMap.get(s), 9, 9, 19, 0.1, 90, 90);
            tMap.put("E" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> qSet = qMap.keySet();
        for (String s : qSet) {
            double damage = damageCalculatorZFHp(qMap.get(s), 9, 9, 19, 0.1, 90, 90);
            tMap.put("Q" + s, Double.parseDouble(String.format("%.1f", damage)));
        }



        return tMap;
    }
}
